#ifndef __NFARULE__

#define __NFARULE__

struct NFARule {
	unsigned from;
	char on;
	unsigned to;


	public:
	NFARule(){}
	NFARule(unsigned from, char on, unsigned to) : from(from), on(on), to(to){}
	//NFARule(char from, char on, char to) : from(atoi(&from)), on(on), to(atoi(&to)){}
	//NFARule(char from, char on, unsigned to) : from(atoi(&from)), on(on), to(to){}
	NFARule(NFARule const &t): from(t.from), on(t.on), to(t.to){}
	NFARule& operator=(const NFARule& t){
		this->from = t.from;
		this->on = t.on;
		this->to = t.to;
		return *this;
    	}  
	

	~NFARule(){}
};



#endif
